<form id="pagerForm" action="jms/project_equip" onsubmit="return navTabSearch(this)" method="post">
    <input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
    <input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>
<div class="pageHeader">

    <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="jms/project_equip" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        <label>站点名称：</label>
                        <input type="text" size="15" name="project.name" value="${(name)!}" />
                    </td>

                    <td>
                        <label>区县：</label>
                        <select name="project.homeCounty">
                            <option value="">---请选择---</option>
                            <option <#if (homeCounty)?? && homeCounty=='东山'> selected="selected"</#if> value="东山">东山</option>
                            <option <#if (homeCounty)?? && homeCounty=='云霄'> selected="selected"</#if> value="云霄">云霄</option>
                            <option <#if (homeCounty)?? && homeCounty=='华安'> selected="selected"</#if> value="华安">华安</option>
                            <option <#if (homeCounty)?? && homeCounty=='南靖'> selected="selected"</#if> value="南靖">南靖</option>
                            <option <#if (homeCounty)?? && homeCounty=='平和'> selected="selected"</#if> value="平和">平和</option>
                            <option <#if (homeCounty)?? && homeCounty=='漳浦'> selected="selected"</#if> value="漳浦">漳浦</option>
                            <option <#if (homeCounty)?? && homeCounty=='芗城'> selected="selected"</#if> value="芗城">芗城</option>
                            <option <#if (homeCounty)?? && homeCounty=='诏安'> selected="selected"</#if> value="诏安">诏安</option>
                            <option <#if (homeCounty)?? && homeCounty=='长泰'> selected="selected"</#if> value="长泰">长泰</option>
                            <option <#if (homeCounty)?? && homeCounty=='龙文'> selected="selected"</#if> value="龙文">龙文</option>
                            <option <#if (homeCounty)?? && homeCounty=='龙海'> selected="selected"</#if> value="龙海">龙海</option>
                        </select>

                    </td>

                    <td>
                        <label>建设方式：</label>
                        <select name="project.buildType">
                            <option value="">---请选择---</option>
                            <option value="共建" <#if (buildType)?? && buildType=='共建'> selected="selected"</#if>>共建</option>
                            <option value="共享" <#if (buildType)?? && share=='buildType'> selected="selected"</#if>>共享</option>
                            <option value="独建" <#if (buildType)?? && share=='buildType'> selected="selected"</#if>>独建</option>
                        </select>
                    </td>
                </tr>
                <tr>

                    <td>
                        <label>移动设备：</label>
                        <select name="project.isCmEquip">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCmEquip)?? && isCmEquip=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCmEquip)?? && isCmEquip=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                    <td>
                        <label>电信设备：</label>
                        <select name="project.isCtEquip">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCtEquip)?? && isCtEquip=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCtEquip)?? && isCtEquip=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>联通设备：</label>
                        <select name="project.isCuEquip">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCuEquip)?? && isCuEquip=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCuEquip)?? && isCuEquip=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                    <td>
                        <label>更新时间：</label>
                        <input type="text" name="project.modifyDate" value="${(modifyDate)!}" size="10" class="date" readonly="true"/>
                    </td>
                    <td>
                        <div class="button"><div class="buttonContent"><button type="submit">查询</button></div></div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>

<div class="pageContent" style="padding:0px">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="edit" href="jms/project_equip/add?id={sid_obj}" width="560" height="420" target="dialog" mask="true"><span>设备核实</span></a></li>
            <li class="line">line</li>
            <li><a class="delete" href="jms/project_equip/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>删除</span></a></li>
            <li class="line">line</li>
            <li class=""><a class="icon" href="jms/project_equip/export" target="dwzExport" targettype="navTab" title="导出这些记录吗?"><span>数据导出</span></a></li>

        </ul>
    </div>

    <table class="table" layoutH="135">
        <thead>
        <tr>
            <th width="50" align="center"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>
            <th width="50" align="center">区县</th>
            <th width="160" align="center">站点</th>
            <th width="80" align="center">立项时间</th>
            <th width="60" align="center">建设方式</th>
            <th width="160" align="left">移动需求名称</th>
            <th width="160" align="left">电信需求名称</th>
            <th width="160" align="left">联通需求名称</th>
            <th width="140" align="center">是否已安装运营商设备</th>
            <th width="200" align="left">备注</th>
            <th width="126" align="center">更新时间</th>

        </tr>
        </thead>
        <tbody>
        <#list pager.list as project>
            <tr target="sid_obj" rel="${(project.id)!}" ondblclick="migr.baseMoudleDblick(this)">
                <td align="left"><input name="ids" type="checkbox" value="${(project.id)!}"/> ${project_index + 1}</td>
                <td align="left">${(project.homeCounty)!}</td>
                <td align="left">${(project.name)!}</td>
                <td align="left">${(project.projectDate?string("yyyy-MM-dd"))!} </td>
                <td align="left">${(project.buildType)!} </td>
                <td>${(project.cmName)!}</td>
                <td>${(project.ctName)!}</td>
                <td>${(project.cuName)!}</td>
                <td align="left"><#if (project.isCmEquip)! == '是'>移动</#if><#if (project.isCtEquip)! == '是'>电信</#if><#if (project.isCuEquip)! == '是'>联通</#if></td>
                <td align="left">${(project.modifyMemo)!} </td>
                <td align="left">${(project.modifyDate)!} </td>
            </tr>
        </#list>
        </tbody>
    </table>

    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
                <option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
                <option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
                <option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
            </select>
            <span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
    </div>


</div>

